package cn.face.sdk;

public class FaceDetTrack
{
  static FaceDetTrack sCJNI = null;

  public FaceDetTrack() {
    FaceCommon.loadLibrarys();
  }

  public static FaceDetTrack getInstance()
  {
    if (sCJNI == null) {
      sCJNI = new FaceDetTrack();
    }
    return sCJNI;
  }

  public static native int cwCreateDetHandle(String paramString1, String paramString2);

  public static native int cwReleaseDetHandle(int paramInt);

  public static native int cwGetFaceParam(int paramInt, FaceParam paramFaceParam);

  public static native int cwSetFaceParam(int paramInt, FaceParam paramFaceParam, String paramString);

  public static native int cwSetFaceBufOrder(int paramInt1, int paramInt2);

  public static native int cwSetFaceOutputFlag(int paramInt1, int paramInt2);

  public static native int cwFaceDetection(int paramInt1, byte[] paramArrayOfByte, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, FaceInfo[] paramArrayOfFaceInfo);

  public static native int cwResetDetTrackState(int paramInt);
}